package com.cskaoyan.bean.bo;

import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.validator.constraints.Length;

/**
 * @Auther: Yang Yi-zhou
 * @Date: 2022/9/12 11:14
 * @Description:
 */
@NoArgsConstructor
@Data
public class RegisterBO {

    private String username;
    private String password;
    @Length(min = 11,max = 11,message = "手机号码格式有误")
    private String mobile;
    @Length(min = 6,max = 6,message = "验证码长度只能为6位")
    private String code;
    private String wxCode;
}
